package com.sf.osms.dep.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Polymorphism;
import org.hibernate.annotations.PolymorphismType;

import com.sf.novatar.base.domain.LongIdBean;
/**
 * sf所有的有效节点表
 * @author sfhq1405
 *
 */
@Entity
@Table(name = "wbs_tt_sfcode")
@Polymorphism(type = PolymorphismType.EXPLICIT)
public class SfCode extends LongIdBean implements Serializable, Cloneable{
	

	private static final long serialVersionUID = 1L;
	/**
	 * ID
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "ID", unique = true, nullable = false)
	private Long id;
	
	/**
	 * sf的eventCode
	 */
	@Column(name = "event_code")
	private String eventCode;
	
	/**
	 * sf的resonCode
	 */
	@Column(name = "reason_code")
	private String reasonCode;
	
	@Column(name = "event_code_des")
	private String eventCodeDes;
	
	@Column(name = "reason_code_des")
	private String reasonCodeDes;
	
	
	public String getEventCode() {
		return eventCode;
	}


	public void setEventCode(String eventCode) {
		this.eventCode = eventCode;
	}


	public String getReasonCode() {
		return reasonCode;
	}


	public void setReasonCode(String reasonCode) {
		this.reasonCode = reasonCode;
	}


	public String getEventCodeDes() {
		return eventCodeDes;
	}


	public void setEventCodeDes(String eventCodeDes) {
		this.eventCodeDes = eventCodeDes;
	}


	public String getReasonCodeDes() {
		return reasonCodeDes;
	}


	public void setReasonCodeDes(String reasonCodeDes) {
		this.reasonCodeDes = reasonCodeDes;
	}


	public void setId(Long id) {
		this.id = id;
	}


	public Long getId() {
		return this.id;
	}
	
}
